const wsPool = new Map();

module.exports = {
  add: (clientId, ws) => {
    wsPool.set(clientId, ws);
  },
  remove: (clientId) => {
    wsPool.delete(clientId);
  },
  get: (clientId) => {
    return wsPool.get(clientId);
  },
};
